package cn.mesmile.workflow.process.wrapper;

import cn.mesmile.workflow.process.vo.ProcessDefinitionVO;
import cn.mesmile.workflow.support.BaseEntityWrapper;
import org.flowable.engine.repository.ProcessDefinition;

/**
 * @author zb
 * @Description
 */
public class ProcessDefinitionWrapper extends BaseEntityWrapper<ProcessDefinition, ProcessDefinitionVO> {

    public static ProcessDefinitionWrapper build() {
        return new ProcessDefinitionWrapper();
    }

    @Override
    public ProcessDefinitionVO entityVO(ProcessDefinition entity) {
        ProcessDefinitionVO processDefinitionVO = new ProcessDefinitionVO(entity);

        return processDefinitionVO;
    }


}
